package com.engineering.elink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.FileDc;

public interface FileDcMapper {
    int deleteByPrimaryKey(Integer fileDcId);

    int insert(FileDc record);

    int insertSelective(FileDc record);

    FileDc selectByPrimaryKey(Integer fileDcId);

    int updateByPrimaryKeySelective(FileDc record);

    int updateByPrimaryKey(FileDc record);
    
    List<FileDc> selectByFileId(@Param("fileId")String fileId);

    void insertBatch(List<FileDc> fdc);

    @Delete("delete  from file_dc where file_id= #{fileId}")
	void deleteByFileId(@Param("fileId")String fileId);
    
}